title="收货地址"
url="/account/shipping-address.html"
layout="default"
[session]
security = "user"
redirect = "/account/login"
==
{% put page_title %}会員基本情報の確認･変更{% default %}{% endput %}
{% set addresses = catalog.getAddresses() %}
<div class="shipping_content">
	<div class="breadCrumb">
		<div class="pankz">
			<a href="/" shape="rect">KOKOMISHOP</a>&gt;
			<a href="/" shape="rect">マイページ</a>&gt;
			会員基本情報の確認･変更
		</div>
		<h2 class="pageTitle noBg">マイページ</h2>
		<h2 class="pageTitle headBg1">会員基本情報の確認･変更</h2>
	</div>
	<div class="registCont">
		<div>
			<a href="{{ 'account/update-shipping-address'|page }}" class="blackBtn1">追加</a>
		</div>
		{% if count(addresses) != 0 %}
		<div class="addressBox">
			<ul>
				{% for addr in addresses %}
				<li>
					<h3>{{ addr.address }}</h3>
					<p>
						<b>{{ addr.first_name }}{{ addr.last_name }}</b><br clear="none">
						〒{{ addr.zip }}
						{{addr.state.name }}&nbsp;{{addr.city}}&nbsp;{{ addr.address }}
						<br clear="none">
						{{ addr.phone }}
					</p>
					<hr class="bgDash">
					<div class="center-btn">
						<ul>
							<li class="center-btn-grey">
								<a href="{{ 'account/update-shipping-address'|page({id: addr.id}) }}">変更</a>
							</li>
							<li>
								<input type="submit" name="" value="削除"
										data-request-data="id:{{ addr.id }}"
										data-request-loading="#loading"
										data-request-redirect="{{ 'account/shipping-address'|page }}"
										data-request="onDeleteAddress"
										data-class="addressbook-delete">
							</li>
						</ul>
					</div>
				</li>
				{% endfor %}
			</ul>
		</div>
		{% endif %}
	</div>
</div>